package com.ruoyi.cderp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品和商品属性关系对象 base_data_product_property_relation
 *
 * @author wzy
 * @date 2025-03-28
 */
public class Properties extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 商品ID */
    @Excel(name = "商品ID")
    private String productId;

    /** 商品属性ID */
    @Excel(name = "商品属性ID")
    private String propertyId;

    /** 商品属性名称 */
    @Excel(name = "商品属性名称")
    private String propertyName;


    /** 属性值ID */
    @Excel(name = "属性值ID")
    private String propertyItemId;

    /** 商品属性值 */
    @Excel(name = "商品属性值")
    private String propertyText;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setPropertyId(String propertyId)
    {
        this.propertyId = propertyId;
    }

    public String getPropertyId()
    {
        return propertyId;
    }
    public void setPropertyItemId(String propertyItemId)
    {
        this.propertyItemId = propertyItemId;
    }

    public String getPropertyItemId()
    {
        return propertyItemId;
    }
    public void setPropertyText(String propertyText)
    {
        this.propertyText = propertyText;
    }

    public String getPropertyText()
    {
        return propertyText;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("productId", getProductId())
            .append("propertyId", getPropertyId())
            .append("propertyItemId", getPropertyItemId())
            .append("propertyText", getPropertyText())
            .toString();
    }
}
